package com.five.welcome.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 学生信息表
 */
@Data
@TableName("studentinfo")
@AllArgsConstructor
@NoArgsConstructor
public class Studentinfo implements Serializable {

    //id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //学号
    private String sNumber;
    //姓名
    private String sName;
    //性别
    private String sGender;
    //电话
    private String sPhone;
    //现居地
    private String sHometown;
    //籍贯
    private String sNationality;
    //政治面貌
    private String sPoliticalFace;
    //电子邮件
    private String email;
    //出生日期
    private LocalDate birthDate;
    //家庭住址
    private String homeAddress;
    //院系
    private String academy;
    //专业
    private String major;
    //班级
    @TableField(value = "class")
    private String classes;
    //身份证号
    private String idCardNumber;
    //面部信息
    private String facePhoto;

}
